package com.ityueqiangu.project.galleryappoint.mapper;

import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import com.ityueqiangu.project.galleryappoint.domain.GalleryAppoint;

/**
 * @author Clever、xia
 * @title: GalleryAppointMapper
 * @description:
 * @date 2021-03-18 14:50:34
 */
@Mapper
public interface GalleryAppointMapper {

	/**
     * 查询所有记录
     *
     * @return 返回集合，没有返回空List
     */
	List<GalleryAppoint> selectGalleryAppointList(GalleryAppoint galleryAppoint);


	/**
     * 根据主键查询
     *
     * @param id 主键
     * @return 返回记录，没有返回null
     */
	GalleryAppoint selectGalleryAppointById(Integer id);
	
	/**
     * 新增，插入所有字段
     *
     * @param galleryAppoint 新增的记录
     * @return 返回影响行数
     */
	Integer insertGalleryAppoint(GalleryAppoint galleryAppoint);
	
	
	/**
     * 修改
     *
     * @param galleryAppoint 修改的记录
     * @return 返回影响行数
     */
	Integer updateGalleryAppoint(GalleryAppoint galleryAppoint);
	

	/**
     * 删除记录
     *
     * @param id
     * @return 返回影响行数
     */
	Integer deleteGalleryAppointById(Integer id);
	
}